import util from '../../utils/util.js';

const request = util.http;


export default {
  //获取用户基本信息
  getUserInfo(params) {
    return request({
      url: '/user/getUserInfo',
      params: params,
      type: 'get'
    })
  },

  //获取用户收益
  getUserProfit(params) {
    return request({
      url: '/user/getUserProfit',
      params: params,
      type: 'get'
    })
  },

  //获取用户持仓
  qryUserProduct(params) {
    return request({
      url: '/user/qryUserProduct',
      params: params,
      type: 'get'
    })
  },
}